package com.mzj.saas.mservice.lifePay.entity;


import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 生活缴费房屋绑定关系表
 */

@Entity
@Table(name = "saas_house_payment_bind")
public class HousePaymentBind extends IdEntity {

    /*
     *用户id
     */
    @Column(name = "user_id", nullable = true)
    private String userId;
    /*
     *房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     *房屋类型：1公租房 2物业房产
     */
    @Column(name = "type", nullable = true)
    private Integer type ;
    /*
     *缴费名称 默认为空
     */
    @Column(name = "name", nullable = true)
    private String name;
    /*
     *分组关系id
     */
    @Column(name = "living_payment_group_id", nullable = true)
    private Long livingPaymentGroupId;
    /*
     *房屋地址
     */
    @Column(name = "house_address", nullable = true)
    private String houseAddress;
    /*
     *绑定状态：1已绑定 2已解绑
     */
    @Column(name = "status", nullable = true)
    private Integer status;
    /*
     *绑定时间
     */
    @Column(name = "bind_time", nullable = true)
    private Date bindTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLivingPaymentGroupId() {
        return livingPaymentGroupId;
    }

    public void setLivingPaymentGroupId(Long livingPaymentGroupId) {
        this.livingPaymentGroupId = livingPaymentGroupId;
    }

    public String getHouseAddress() {
        return houseAddress;
    }

    public void setHouseAddress(String houseAddress) {
        this.houseAddress = houseAddress;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getBindTime() {
        return bindTime;
    }

    public void setBindTime(Date bindTime) {
        this.bindTime = bindTime;
    }
}
